﻿<%@ Control Language="C#" AutoEventWireup="true" Inherits="SouthernLand.Controls.Rotator"
    CodeBehind="Rotator.ascx.cs" %>
<table align="left" cellpadding="0" cellspacing="0" width="100%" border="0">
    <tr>
        <td class="support-online-box Frame_Title padding-left-6">
            Các thiết kế nhà đẹp
        </td>
    </tr>
    <tr>
        <td valign="top" class="text" align="center" height="120">
            <table cellspacing="0" width="100%" border="0">
                <tbody>
                    <tr valign="top">
                        <td align="center">
                            <table cellspacing="0" cellpadding="0" width="100%" border="0" align="center">
                                <tbody>
                                    <tr>
                                        <td align="center" class="frame">
                                            <div align="center" id="Rotator_82" onmouseover="ie_MsOver(this, lth_Rotator_82);"
                                                style="overflow: hidden; width: 98%; height: 350px;" onmouseout="ie_MsOut(this, lth_Rotator_82);">
                                                <div align="center" id="Rotator_82_SlideContainer" style="visibility: hidden; width: 100%;
                                                    position: relative; height: 100%">
                                                    <asp:Repeater runat="server" ID="rptRotator">
                                                        <ItemTemplate>
                                                            <div id="<%#Eval("HinhID") %>" align="center">
                                                                <table onmouseup="this.className='RotatorItemOver';" onmousedown="this.className='RotatorItemDown';"
                                                                    onmouseover="this.className='RotatorItemOver';" onmouseout="this.className='RotatorItem';"
                                                                    cellspacing="0" cellpadding="4" border="0">
                                                                    <tbody>
                                                                        <tr>
                                                                            <td>
                                                                                <a href="#" target="_blank">
                                                                                    <img src="<%=Globals.ApplicationPath%>UserUpload/Rotator/<%#Eval("Hinh") %>" border="0" />
                                                                                </a>
                                                                            </td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </div>
                                                        </ItemTemplate>
                                                    </asp:Repeater>
                                                </div>
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </td>
                    </tr>
                </tbody>
            </table>
        </td>
    </tr>
</table>
<script language="JavaScript"> 
        var lth_Rotator_82= new CYBERAKT_Rotator(); 
        lth_Rotator_82.GlobalID = 'lth_Rotator_82';
        lth_Rotator_82.ElementID = 'Rotator_82';
        lth_Rotator_82.ContainerID = 'Rotator_82_SlideContainer'; 
        lth_Rotator_82.ContainerRowID = 'Rotator_82_ContainerRow'; 
        lth_Rotator_82.RotationType = 'SmoothScroll'; 
        lth_Rotator_82.ScrollDirection  = 'up'; 
        lth_Rotator_82.SlidePause  = '2000'; 
        lth_Rotator_82.ScrollInterval  = '10'; 
        lth_Rotator_82.Slides = new Array(); 
        <% 
        for (int i = 0; i <stt; i++)
        { 
            Response.Write("lth_Rotator_82.Slides["+ i +"]='Image"+ (i+1).ToString() +"';\n");     
        }
        %>
        
        //lth_Rotator_82.Slides[1] = 'Image1'; 
        if (lth_Rotator_82.AutoStart) rcr_Start(lth_Rotator_82) ;
</script>
